﻿Imports System.Data
Imports System.Data.SqlClient
Imports Entidad
Imports Datos

Public Class DocumentoAlmacenPickeadorTiempoNegocio

    Dim dao As New DocumentoAlmacenPickeadorTiempoDatos

    Sub ingresarDocumentoAlmacenPickeadorTiempo(ByVal dapt As DocumentoAlmacenPickeadorTiempo, flag As String)
        dao.ingresarDocumentoAlmacenPickeadorTiempo(dapt, flag)
    End Sub

    Function obtenerCodigo(ByVal codPedido As String, ByVal codPick As String, tipoDOC As String) As Integer
        Return dao.obtenerCodigo(codPedido, codPick, tipoDOC)
    End Function

    Function verificarDocumentoAlmacenPickeadorTiempo(ByVal codPed As String, ByVal codpick As String, ByVal ppCod As String, tipoDOC As String) As String
        Return dao.verificarDocumentoAlmacenPickeadorTiempo(codPed, codpick, ppCod, tipoDOC)
    End Function

    Function verificacionActivacionPedido(cia As String, suc As String, alm As String, tdoc As String, dcicodigo As String, codPickeador As String) As Boolean
        Return dao.verificacionActivacionPedido(cia, suc, alm, tdoc, dcicodigo, codPickeador)
    End Function

End Class
